From: Alejandro PiƱeiro Date: Tue, 27 Aug 2013 13:17:17 +0000 (+0200) Subject: a11y: calendar: Month name should be navigable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~3589 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4e8075897021209920b28abdfac4c6125aa24a7b;p=gnome-shell.git a11y: calendar: Month name should be navigable https://bugzilla.gnome.org/show_bug.cgi?id=706903 --- diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 5a4b5644f..015a892d9 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1212,6 +1212,10 @@ StScrollBar StButton#vhandle:active { padding-top: 8px; } +.calendar-month-label:focus { + background-color: #999999; +} + .calendar-change-month-back { width: 18px; height: 12px; diff --git a/js/ui/calendar.js b/js/ui/calendar.js index cb5a2940e..75dcbb609 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -449,7 +449,8 @@ const Calendar = new Lang.Class({ this._topBox.add(this._backButton); this._backButton.connect('clicked', Lang.bind(this, this._onPrevMonthButtonClicked)); - this._monthLabel = new St.Label({style_class: 'calendar-month-label'}); + this._monthLabel = new St.Label({style_class: 'calendar-month-label', + can_focus: true }); this._topBox.add(this._monthLabel, { expand: true, x_fill: false, x_align: St.Align.MIDDLE }); this._forwardButton = new St.Button({ style_class: 'calendar-change-month-forward',